cmake_minimum_required(VERSION 3.15 FATAL_ERROR)

project(HttpServer LANGUAGES CXX)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_EXTENSIONS OFF)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

find_package(Boost 1.66 REQUIRED COMPONENTS)

message("BOOST_INCLUDEDIR: ${BOOST_INCLUDEDIR}")

file (GLOB APP_FILES
        http_server_async.cpp
        )

add_executable(HttpServer ${APP_FILES})

target_link_libraries(HttpServer
        PUBLIC
        pthread
        )

